package com.king.springcloud.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Feign日志培训
 * @author king
 * @date 2020/9/4 23:04
 */
@Configuration
public class FeignConfig {

    /**
     * Feign日志级别
     * @return 日志信息
     */
    @Bean
    Logger.Level feignLoggerLevel(){
        return Logger.Level.FULL;
    }
}
